package com.task.manage.system.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.task.manage.common.annotation.Excel;
import com.task.manage.common.core.domain.BaseEntity;

/**
 * 商家任务对象 merchant_task
 *
 * @author ruoyi
 * @date 2024-05-09
 */
@Data
public class MerchantTask extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 商户id
     */
    private Long mercId;

    /**
     * 商户名称
     */
    @Excel(name = "商户名称")
    private String mercName;


    /**
     * 店铺名称
     */
    @Excel(name = "店铺名称")
    private String storeName;

    /**
     * 商品链接
     */
    @Excel(name = "商品链接")
    private String productLink;
    /**
     * 任务总数
     */
    @Excel(name = "总任务数")
    private Long taskAllCounts;


    /**
     * 产品单价(元)
     */
    @Excel(name = "产品单价(元)")
    private BigDecimal productAmount;


    @Excel(name = "备注信息")
    private String remark;

    /**
     * 任务总数
     */
   // @Excel(name = "剩余任务数")
    private Long taskCounts;



    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMercId(Long mercId) {
        this.mercId = mercId;
    }

    public Long getMercId() {
        return mercId;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setProductAmount(BigDecimal productAmount) {
        this.productAmount = productAmount;
    }

    public BigDecimal getProductAmount() {
        return productAmount;
    }

    public void setProductLink(String productLink) {
        this.productLink = productLink;
    }

    public String getProductLink() {
        return productLink;
    }

    public void setTaskCounts(Long taskCounts) {
        this.taskCounts = taskCounts;
    }

    public Long getTaskCounts() {
        return taskCounts;
    }

    public String getMercName() {
        return mercName;
    }

    public void setMercName(String mercName) {
        this.mercName = mercName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mercId", getMercId())
                .append("storeName", getStoreName())
                .append("productAmount", getProductAmount())
                .append("productLink", getProductLink())
                .append("taskCounts", getTaskCounts())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
